

<div id="taskform">


    <div id="taskformfields">

        <h3>Nueva Tarea</h3>


        <div class="line">
            <?php
            echo form_label('Operación : ', 'operation');
            echo form_dropdown('operation', $operation, "", 'id="operation"');
            ?>

        </div>

        <div class="line">
            <?php
            echo form_label('Capa : ', 'layer');
            echo form_dropdown('layer', $layers, $layer, 'id="layer"');

            echo form_label('SRS : ', 'grid');
            echo form_dropdown('grid', array(), '', 'id="grid"');
            ?>
        </div>
        <div class="line">
            <?php
            echo form_label('Niveles de Zoom : ', 'minZoomLevel');
            echo form_dropdown('minZoomLevel', $minZoomLevel, "", 'id="minZoomLevel"');
            echo form_dropdown('maxZoomLevel', $maxZoomLevel, "", 'id="maxZoomLevel"');
            ?>
        </div>
        <div class="line">

            <?php
            echo form_label('Bounding Box : ', 'bboxMinX');

            echo form_input($bboxMinX);
            echo form_input($bboxMaxX);
            echo form_input($bboxMinY);
            echo form_input($bboxMaxY);
            ?>
            <div id="regionSelectAnchor">
                <?php
                foreach ($grids as $grid) {

                    echo '<div id="findRegionBoundingBox-' . $grid . '" srs="'.$grid.'">';
                    echo anchor_popup('regionBoundingBox/index/' . urlencode($grid), 'Buscar Región', $regionPopUpAttr);
                    echo '</div>';
                }
                ?>
            </div>
        </div>
        <div id="avancedOptions" class="line">
            <h3> Opciones avanzadas </h3>
            <p>
                <?php
                echo form_label('N° Threads : ', 'nThreads');
                echo form_dropdown('nThreads', $nThreads, "", 'id="nThreads"');
                echo form_label('N° Procesos : ', 'nProcess');
                echo form_dropdown('nProcess', $nProcess, "", 'id="nProcess"');
                echo form_label('Metatile : ', 'metatileX');
                echo form_dropdown('metatileX', $metatileX, "", 'id="metatileX"');
                echo form_dropdown('metatileY', $metatileY, "", 'id="metatileY"');
                ?>
            </p>
        </div>


    </div>
    <div id="formControls">

        <div id="buttons">


            <button id="exec" >Ejecutar</button>

        </div>
    </div>


    <div class="anchoSitio">
        <table id="task_table"></table>
        <div id="pager"> </div>
    </div>

</div>
